package com.qf.game;

public class Battle09 {
    public static void main(String[] args) {
        Master master = new Master();
        master.setPower(2);
        master.attack();
        IceBall iceBall = new IceBall();
        iceBall.setMagicDamage(20);
        iceBall.setGrade(1);
        iceBall.setName("冰球术");
        master.setMagic(iceBall);
        for (int i = 0; i < 52; i++) {
          master.magicAttack();
        }


    }
}
